package cn.seecoder.courselearning.mapperservice.test;

import cn.seecoder.courselearning.po.test.Submit;
import org.apache.ibatis.annotations.Param;

public interface SubmitMapper {

    int deleteByPrimaryKey(@Param("uid") Integer uid, @Param("tid") Integer tid, @Param("qid") Integer qid);

    int insert(Submit submit);

    //int insert(@Param("uid") Integer uid, @Param("tid") Integer tid, @Param("qid") Integer qid, @Param("ans") char ans);

    Submit selectByPrimaryKey(@Param("uid") Integer uid, @Param("tid") Integer tid, @Param("qid") Integer qid);

}
